<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>L2LB: Referência à estrutura cluster</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li><a href="functions.html"><span>Campos&nbsp;de&nbsp;dados</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência à estrutura cluster</h1><!-- doxytag: class="cluster" -->Cluster.  
<a href="#_details">Mais...</a>
<p>
<code>#include &lt;<a class="el" href="cluster_8h-source.html">cluster.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Campos de Dados</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structcluster__node.html">cluster_node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#dc003d7c81ab0cee1802cb6742a2de98">head</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structcluster__node.html">cluster_node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#32ff08c9fc90846a9ec4eddf4351fac5">tail</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structcluster__node.html">cluster_node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#7ccd7197eb601ffee1b0f6209578e9a2">my_node</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structcluster__node.html">cluster_node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#0790d37c29c68e44e2e6aa3c0d46bb70">next_serving</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#c5a12bfd4d88406ced444aedaf84ed45">node_count</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct net_device *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#c846f7faaa5552def937e185f42e40e5">dev</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#5c014dc4806dfdcc72ddcdfff23231ae">mac_response</a> [ETH_ALEN]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct net_device *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#cdb104ede08b2fbd5bcfb23aa8db042d">vlan_dev</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#7ae1f275ddabb8b5ff63b6b9dc171a0c">port</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#088588314045ccef65ac5c6b72d5e37d">hard_start_xmit_old</a> )(struct sk_buff *skb, struct net_device *<a class="el" href="structcluster.html#c846f7faaa5552def937e185f42e40e5">dev</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#823f2ac00f77d6c7f23f224e5d7f328f">ip</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct in_ifaddr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#e763326a5606306ff8879a318c03e176">new_ip_addr</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">rwlock_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcluster.html#4918986560ed2638282b9a6856427dda">rwlock</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Descrição detalhada</h2>
Cluster. 
<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00036">36</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>
<hr><h2>Documentação dos campos e atributos</h2>
<a class="anchor" name="dc003d7c81ab0cee1802cb6742a2de98"></a><!-- doxytag: member="cluster::head" ref="dc003d7c81ab0cee1802cb6742a2de98" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcluster__node.html">cluster_node</a>* <a class="el" href="structcluster.html#dc003d7c81ab0cee1802cb6742a2de98">cluster::head</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00038">38</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00077">add_cluster_node()</a>, <a class="el" href="cluster_8h-source.html#l00180">get_node_by_id()</a>, <a class="el" href="cluster_8h-source.html#l00265">nlb_cluster_exit()</a>, <a class="el" href="interface_8h-source.html#l00080">procfile_read()</a> e <a class="el" href="cluster_8h-source.html#l00125">remove_cluster_node()</a>.</p>

</div>
</div><p>
<a class="anchor" name="32ff08c9fc90846a9ec4eddf4351fac5"></a><!-- doxytag: member="cluster::tail" ref="32ff08c9fc90846a9ec4eddf4351fac5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcluster__node.html">cluster_node</a>* <a class="el" href="structcluster.html#32ff08c9fc90846a9ec4eddf4351fac5">cluster::tail</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00039">39</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00077">add_cluster_node()</a> e <a class="el" href="cluster_8h-source.html#l00125">remove_cluster_node()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ccd7197eb601ffee1b0f6209578e9a2"></a><!-- doxytag: member="cluster::my_node" ref="7ccd7197eb601ffee1b0f6209578e9a2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcluster__node.html">cluster_node</a>* <a class="el" href="structcluster.html#7ccd7197eb601ffee1b0f6209578e9a2">cluster::my_node</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00040">40</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="interface_8h-source.html#l00053">cmd_my_node()</a>, <a class="el" href="heartbeat_8h-source.html#l00094">hb_rebuild_msg()</a>, <a class="el" href="netfilter_8h-source.html#l00015">nlb_hook_in()</a> e <a class="el" href="interface_8h-source.html#l00080">procfile_read()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0790d37c29c68e44e2e6aa3c0d46bb70"></a><!-- doxytag: member="cluster::next_serving" ref="0790d37c29c68e44e2e6aa3c0d46bb70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcluster__node.html">cluster_node</a>* <a class="el" href="structcluster.html#0790d37c29c68e44e2e6aa3c0d46bb70">cluster::next_serving</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00041">41</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00077">add_cluster_node()</a>, <a class="el" href="heartbeat_8h-source.html#l00094">hb_rebuild_msg()</a>, <a class="el" href="netfilter_8h-source.html#l00015">nlb_hook_in()</a>, <a class="el" href="interface_8h-source.html#l00080">procfile_read()</a> e <a class="el" href="cluster_8h-source.html#l00125">remove_cluster_node()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c5a12bfd4d88406ced444aedaf84ed45"></a><!-- doxytag: member="cluster::node_count" ref="c5a12bfd4d88406ced444aedaf84ed45" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structcluster.html#c5a12bfd4d88406ced444aedaf84ed45">cluster::node_count</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00042">42</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00077">add_cluster_node()</a>, <a class="el" href="heartbeat_8h-source.html#l00094">hb_rebuild_msg()</a>, <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a> e <a class="el" href="cluster_8h-source.html#l00125">remove_cluster_node()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c846f7faaa5552def937e185f42e40e5"></a><!-- doxytag: member="cluster::dev" ref="c846f7faaa5552def937e185f42e40e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_device* <a class="el" href="structcluster.html#c846f7faaa5552def937e185f42e40e5">cluster::dev</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00044">44</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a>, <a class="el" href="cluster_8h-source.html#l00265">nlb_cluster_exit()</a> e <a class="el" href="netfilter_8h-source.html#l00015">nlb_hook_in()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c014dc4806dfdcc72ddcdfff23231ae"></a><!-- doxytag: member="cluster::mac_response" ref="5c014dc4806dfdcc72ddcdfff23231ae" args="[ETH_ALEN]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char <a class="el" href="structcluster.html#5c014dc4806dfdcc72ddcdfff23231ae">cluster::mac_response</a>[ETH_ALEN]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00045">45</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="nlb-driver_8c-source.html#l00080">dev_cluster_hard_start_xmit_new()</a>, <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a> e <a class="el" href="nlb-driver_8c-source.html#l00100">nlb_init_module()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cdb104ede08b2fbd5bcfb23aa8db042d"></a><!-- doxytag: member="cluster::vlan_dev" ref="cdb104ede08b2fbd5bcfb23aa8db042d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_device* <a class="el" href="structcluster.html#cdb104ede08b2fbd5bcfb23aa8db042d">cluster::vlan_dev</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00047">47</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ae1f275ddabb8b5ff63b6b9dc171a0c"></a><!-- doxytag: member="cluster::port" ref="7ae1f275ddabb8b5ff63b6b9dc171a0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structcluster.html#7ae1f275ddabb8b5ff63b6b9dc171a0c">cluster::port</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00049">49</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="088588314045ccef65ac5c6b72d5e37d"></a><!-- doxytag: member="cluster::hard_start_xmit_old" ref="088588314045ccef65ac5c6b72d5e37d" args=")(struct sk_buff *skb, struct net_device *dev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structcluster.html#088588314045ccef65ac5c6b72d5e37d">cluster::hard_start_xmit_old</a>)(struct sk_buff *skb, struct net_device *<a class="el" href="structcluster.html#c846f7faaa5552def937e185f42e40e5">dev</a>)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Referenciado por <a class="el" href="nlb-driver_8c-source.html#l00080">dev_cluster_hard_start_xmit_new()</a>, <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a> e <a class="el" href="cluster_8h-source.html#l00265">nlb_cluster_exit()</a>.</p>

</div>
</div><p>
<a class="anchor" name="823f2ac00f77d6c7f23f224e5d7f328f"></a><!-- doxytag: member="cluster::ip" ref="823f2ac00f77d6c7f23f224e5d7f328f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 <a class="el" href="structcluster.html#823f2ac00f77d6c7f23f224e5d7f328f">cluster::ip</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00059">59</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e763326a5606306ff8879a318c03e176"></a><!-- doxytag: member="cluster::new_ip_addr" ref="e763326a5606306ff8879a318c03e176" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct in_ifaddr <a class="el" href="structcluster.html#e763326a5606306ff8879a318c03e176">cluster::new_ip_addr</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00060">60</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4918986560ed2638282b9a6856427dda"></a><!-- doxytag: member="cluster::rwlock" ref="4918986560ed2638282b9a6856427dda" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rwlock_t <a class="el" href="structcluster.html#4918986560ed2638282b9a6856427dda">cluster::rwlock</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="cluster_8h-source.html#l00063">63</a> do ficheiro <a class="el" href="cluster_8h-source.html">cluster.h</a>.</p>

<p>Referenciado por <a class="el" href="cluster_8h-source.html#l00077">add_cluster_node()</a>, <a class="el" href="cluster_8h-source.html#l00180">get_node_by_id()</a>, <a class="el" href="cluster_8h-source.html#l00214">init_cluster()</a>, <a class="el" href="netfilter_8h-source.html#l00015">nlb_hook_in()</a> e <a class="el" href="cluster_8h-source.html#l00125">remove_cluster_node()</a>.</p>

</div>
</div><p>
<hr>A documentação para esta estrutura foi gerada a partir do seguinte ficheiro:<ul>
<li><a class="el" href="cluster_8h-source.html">cluster.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Sep 10 23:05:56 2008 para L2LB por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
